package com.jgp.common.pojo;

import java.util.List;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2018/12/18
 */
public interface TreeBeanStructure {
    String getKey();
    String getIcon();
    String getTitle();
    String getTip();
    boolean isExpend();
    boolean isSelected();
    boolean isLazy();
    boolean isFolder();
    boolean isFocus();
    boolean isCheckbox();
    Object getBean();
    <TB extends TreeBeanStructure> List<TB> getChildren();
    <TB extends TreeBeanStructure> void setChildren(List<TB> children);
    void setFolder(boolean folder);
}
